package com.sopaths.contract.service;

import java.util.List;

import com.sopaths.contract.domain.Recruitment;

public interface RecruitmentService {

	public Recruitment create(Recruitment recruitment);

	public List<Recruitment> batchCreate(List<Recruitment> recruitments);

	public Recruitment delete(int id);

	public Recruitment update(Recruitment recruitment);

	public Recruitment updateByUrl(Recruitment recruitment);

	public List<Recruitment> batchUpdateByUrl(List<Recruitment> recruitments);

	public Recruitment saveCrawledRecruitment(Recruitment recruitment);

	public Recruitment get(int id);

	public Recruitment getByUrl(String url);
}
